/// @description 接收输入
// You can write your code in this editor
if(focus)
{
	//接收输入
	text += keyboard_string;
	keyboard_string = "";	
	
	//退格删除
	if(keyboard_check_pressed(vk_backspace))
		text = string_copy(text,0,string_length(text)-1);
}

//限制长度
if(string_length(text)>max_len)
{
	text = string_copy(text,0,max_len);
}

